import "@/styles/base.scss";

import { createApp } from "vue";
import pinia from "./stores";

import App from "./App.vue";
import router from "./router";

import { Button } from "vant";
import { Checkbox, CheckboxGroup } from "vant";
import { RadioGroup, Radio } from "vant";
import { SwipeCell } from "vant";
import { NavBar } from "vant";
import { Tab, Tabs } from "vant";
import { Tabbar, TabbarItem } from "vant";
import { Notify } from "vant";
import { Dialog } from "vant";
import { BackTop } from "vant";
import { PullRefresh } from "vant";
import { Toast } from "vant";
import { Empty } from "vant";

const app = createApp(App);

app.use(pinia);
app.use(router);

app.use(Button);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(Radio);
app.use(RadioGroup);
app.use(SwipeCell);
app.use(NavBar);
app.use(Tab);
app.use(Tabs);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Notify);
app.use(Dialog);
app.use(BackTop);
app.use(PullRefresh);
app.use(Toast);
app.use(Empty);

app.mount("#app");
